﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BookingHotel.ClasseDiDominio
{
    class SameRoom
    {
        public string Type { get; set; }
        public int Capacity { get; set; }
        public decimal Price { get; set; }
        public int Quantity { get; set; }
        public int Id { get; set; }

        public SameRoom(string type, int capacity, decimal price, int quantity, int id)
        {
            Type = type;
            Capacity = capacity;
            Price = price;
            Quantity = quantity;
            Id = id;
        }

        public string ToString()
        {
            return Id + ": " + Type + " " + Capacity.ToString() + " " + Price.ToString() + " " + Quantity + "\n";
        }

    }
}
